package com.weasel.weixin.commons.config;

/**
 * Created by Dylan on 2015/9/28.
 */
public interface CommonConsts {

    //获取access_token地址
    public final static String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token";

    //获取用户授权的access_token地址
    public final static String OAUTH2_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";

    //验证用户授权的access_token是否有效地址
    public final static String OAUTH2_ACCESS_TOKEN_ENABLED_URL = "https://api.weixin.qq.com/sns/auth";

    //刷新获取用户授权的access_token地址
    public final static String REFRESH_OAUTH2_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/refresh_token";

    //获取微信服务器ip地址
    public final static String IP_LIST_URL = "https://api.weixin.qq.com/cgi-bin/getcallbackip";

    //临时素材上传地址
    public final static String TEMPORARY_MEDIA_UPLOAD_URL = "https://api.weixin.qq.com/cgi-bin/media/upload";

    //临时素材下载地址
    public final static String TEMPORARY_MEDIA_DOWNLOAD_URL = "http://api.weixin.qq.com/cgi-bin/media/get";

    //永久素材上传地址
    public final static String FOREVER_MEDIA_UPLOAD_URL = "https://api.weixin.qq.com/cgi-bin/material/add_material";

    //永久素材下载地址
    public final static String FOREVER_MEDIA_DOWNLOAD_URL = "https://api.weixin.qq.com/cgi-bin/material/get_material";

    //永久素材删除地址
    public final static String FOREVER_MEDIA_DELETE_URL = "https://api.weixin.qq.com/cgi-bin/material/del_material";

    //永久素材数量地址
    public final static String FOREVER_MEDIA_COUNT_URL = "https://api.weixin.qq.com/cgi-bin/material/get_materialcount";

    //永久素材列表地址
    public final static String FOREVER_MEDIA_LIST_URL = "https://api.weixin.qq.com/cgi-bin/material/batchget_material";

    //创建菜单URL
    public final static String MENU_CREATE_URL = "https://api.weixin.qq.com/cgi-bin/menu/create";

    //删除菜单URL
    public final static String MENU_DELETE_URL = "https://api.weixin.qq.com/cgi-bin/menu/delete";

    //获取菜单URL
    public final static String MENU_GET_URL = "https://api.weixin.qq.com/cgi-bin/menu/get";

    //通过oauth2方式获取用户信息url
    public final static String OAUTH2_USER_INFO_URL = "https://api.weixin.qq.com/sns/userinfo";

    //生成二维码url
    public final static String QUCODE_URL = "https://api.weixin.qq.com/cgi-bin/qrcode/create";

    //获取二维码url
    public final static String DOWNLOAD_QRCODE_URL = "https://mp.weixin.qq.com/cgi-bin/showqrcode";

    //添加客服帐号url
    public final static String ADD_CUSTOMER_SERVICE_URL = "https://api.weixin.qq.com/customservice/kfaccount/add";

    //更新客服帐号url
    public final static String UPDATE_CUSTOMER_SERVICE_URL = "https://api.weixin.qq.com/customservice/kfaccount/update";

    //删除客服帐号url
    public final static String DELETE_CUSTOMER_SERVICE_URL = "https://api.weixin.qq.com/customservice/kfaccount/del";

    //上传客服帐号头像url
    public final static String UPLOAD_CUSTOMER_SERVICE_HEADIMAGE = "http://api.weixin.qq.com/customservice/kfaccount/uploadheadimg";

    //获得客服帐号列表url
    public final static String GET_CUSTOMER_SERVICE_LIST = "https://api.weixin.qq.com/cgi-bin/customservice/getkflist";

    //主动发送消息url
    public final static String INITIATIVE_SEND_MESSAGE_URL = "https://api.weixin.qq.com/cgi-bin/message/custom/send";

    //获得用户信息(与oauth2方法不同)url
    public final static String USER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/user/info";

    //批量获得用户信息url
    public final static String USER_INFO_LIST_URL = "https://api.weixin.qq.com/cgi-bin/user/info/batchget";

    //更新用户备注url
    public final static String UPDATE_USER_INFO_REMARK_URL = "https://api.weixin.qq.com/cgi-bin/user/info/updateremark";

    //创建用户分组url
    public final static String CREATE_USER_GROUP_URL = "https://api.weixin.qq.com/cgi-bin/groups/create";

    //获取用户所有分组url
    public final static String GET_USER_GROUP_LIST_URL = "https://api.weixin.qq.com/cgi-bin/groups/get";

    //获取用户所有的分组id
    public final static String GET_USER_GROUP_ID_URL = "https://api.weixin.qq.com/cgi-bin/groups/getid";

    //修改分组外
    public final static String UPDATE_USER_GROUP_URL = "https://api.weixin.qq.com/cgi-bin/groups/update";

    //修改用户所有分组
    public final static String MOVE_USER_TO_GROUP_URL = "https://api.weixin.qq.com/cgi-bin/groups/members/update";

    //批量修改用户所有分组
    public final static String BATCH_MOVE_USER_TO_GROUP_URL = "https://api.weixin.qq.com/cgi-bin/groups/members/batchupdate";

    //删除用户分组
    public final static String DELETE_USER_GROUP_URL = "https://api.weixin.qq.com/cgi-bin/groups/delete";

    //设置所属行业
    public final static String INDUSTRY_SETTING_URL = "https://api.weixin.qq.com/cgi-bin/template/api_set_industry";
    
    //上传图文消息内的图片获取URL 
    public final static String GET_MEDIA_UPLOADIMG_URL="https://api.weixin.qq.com/cgi-bin/media/uploadimg";
    
    //上传图文消息素材
    public final static String UPLOAN_MEDIA_UPLOADNEWS_URL="https://api.weixin.qq.com/cgi-bin/media/uploadnews";
    

}
